﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucResourceUpload.ascx.cs"
    Inherits="Modules_WebsiteBackEnd_wucResourceUpload" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Label ID="lblImageThumbDir" runat="server" Text="" Visible="false"></asp:Label>
<asp:Label ID="lblResourceDir" runat="server" Text="" Visible="false"></asp:Label>
<asp:Label ID="lblNewsType" runat="server" Text="" Visible="false"></asp:Label>
<asp:UpdatePanel ID="UpdatePanel" runat="server">
    <ContentTemplate>
        <table align="center" border="0" cellpadding="0" cellspacing="0" width="700px" height="390px"
            bgcolor="#f4f4f4">
            <tr>
                <td width="10px">
                    &nbsp;</td>
                <td align="center" width="300px" valign="top">
                    <table align="left" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr height="10px">
                            <td align="left" colspan="2">
                                &nbsp;
                            </td>
                        </tr>
                        <tr height="30px">
                            <td align="left" colspan="2">
                                <b>Chọn tài nguyên:</b><telerik:RadFormDecorator ID="rfdFormDecorator" runat="server"
                                    Skin="Vista" DecoratedControls="all"></telerik:RadFormDecorator>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="top">
                                <telerik:RadUpload ID="rulImage" runat="server" OverwriteExistingFiles="true" InitialFileInputsCount="1"
                                    MaxFileInputsCount="1" MaxFileSize="20971520" ControlObjectsVisibility="none"
                                    Skin="Vista" Width="150px" />(ảnh có kích thước theo tỷ lệ 800x600) 
                            </td>
                            <td align="left" valign="top">
                                <asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" /></td>
                        </tr>
                        <tr>
                            <td height="70px">
                                &nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </ContentTemplate>
    <Triggers>
        <asp:PostBackTrigger ControlID="btnUpload" />
    </Triggers>
</asp:UpdatePanel>
